<?php

//验证码
function verify($verify=null){
    $sessionVerify = $_SESSION["verify"];
    unset($_SESSION["verify"]);
    return $sessionVerify == md5($verify);
}
